﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace E5_KhuyenMaiVang.Controllers
{
    public class PaypalController : Controller
    {
        //
        // GET: /Paypal/

        public ActionResult Pay()
        {
            PayPalGateway temp = new PayPalGateway();
            PayPalReturn rv = temp.Pay("123", "10", "Nguyen", "Duc", null, null, null, "084", "Viet Nam", "1", "Visa", "4806029673924095",
                "099", DateTime.Now.Month.ToString(), (DateTime.Now.Year + 1).ToString());            
            return View();
        }

    }
}
